20 #define CELL_32_SPEED 0 21 #define CELL_32_FLOW 1 23 #define CELL_32_EXTRUDER 11 24 #define CELL_32_BED 14 25 #define CELL_32_SDCARD 15 26 #define CELL_32_MENU 16 27 #define CELL_32_EMERGENCY 17 28 #define CELL_32_POWER_ON 18 29 #define CELL_32_POWER_OFF 19 30 #define CELL_32_LIGHT_ON 20 31 #define CELL_32_LIGHT_OFF 21 32 #define CELL_32_PAUSE 22 33 #define CELL_32_PRINT 23 34 #define CELL_32_HOME 24 35 #define CELL_32_MOVE 25 36 #define CELL_32_CHECK_OFF 26 37 #define CELL_32_CHECK_ON 27 38 #define CELL_32_TARGET_POS 28 39 #define CELL_32_CURRENT_POS 29 40 #define CELL_32_CLOSE 30 41 #define CELL_32_BIGBTN_SEL_A 31 42 #define CELL_32_BIGBTN_SEL_B 32 43 #define CELL_32_BIGBTN_A 33 44 #define CELL_32_BIGBTN_B 34 47 #define TAG_EMERGENCY 1 51 #define TAG_FAN_SLIDER 5 53 #define TAG_BED_SLIDER 7 55 #define TAG_EXT0_SLIDER 9 57 #define TAG_EXT1_SLIDER 11 58 #define TAG_SPEED_SLIDER 12 59 #define TAG_FLOW_SLIDER 13 82 switch(screens[screenPos]) {
136 parse(PSTR(UI_TEXT_PAGE_BUFFER));
138 parse(PSTR(UI_TEXT_PRINT_FILAMENT
":%Uf m"));
140 parse(PSTR(UI_TEXT_PRINT_TIME
":%Ut"));
142 parse(PSTR(
"X:%x0 mm"));
144 parse(PSTR(
"Y:%x1 mm"));
146 parse(PSTR(
"Z:%x2 mm"));
163 uint8_t screenPos = 0;
void Clear(byte c, byte s, byte t)
Definition: gd2_ext.h:1217
struct GDClass::@0 inputs
#define RECTS
Definition: gd2_ext.h:299
Definition: gameduino2.h:62
#define TAG_MENU
Definition: gameduino2.h:60
UIDisplay uid
Definition: ui.cpp:144
char printCols[MAX_COLS+1]
Definition: ui.h:613
#define CELL_32_FLOW
Definition: gameduino2.h:21
void ClearColorRGB(byte red, byte green, byte blue)
Definition: gd2_ext.h:1209
#define LINES
Definition: gd2_ext.h:293
#define BITMAPS
Definition: gd2_ext.h:291
#define CELL_32_FAN
Definition: gameduino2.h:22
static uint8_t screenPos
Definition: gameduino2.h:66
void uiCheckSlowEncoder()
Definition: gameduino2.h:167
void initializeLCD()
Definition: gameduino2.h:11
void swap(void)
Definition: gd2_ext.h:814
static void refresh()
Definition: gameduino2.h:80
#define CELL_32_MENU
Definition: gameduino2.h:26
static void delayMilliseconds(unsigned int delayMs)
Definition: HAL.h:518
static void startScreen()
Definition: gameduino2.h:67
void parse(const char *txt, bool ram)
Definition: ui.cpp:1285
#define CELL_32_POWER_OFF
Definition: gameduino2.h:29
void get_inputs(void)
Definition: gd2_ext.h:1674
#define TAG_LIGHT
Definition: gameduino2.h:49
void cmd_textP(int16_t x, int16_t y, byte font, uint16_t options, PGM_P s)
Definition: gd2_ext.h:1584
GDClass GD
Definition: gd2_ext.h:808
void uiCheckSlowKeys(int &action)
Definition: gameduino2.h:168
void begin(uint8_t options=(GD_CALIBRATE|GD_TRIM|GD_STORAGE))
Definition: gd2_ext.h:842
void Vertex2ii(uint16_t x, uint16_t y, byte handle=0, byte cell=0)
Definition: gd2_ext.h:1330
uint8_t tag
Definition: gd2_ext.h:83
#define ICONS32_HANDLE
Definition: gd2_ext.h:2400
#define CELL_32_EXTRUDER
Definition: gameduino2.h:23
static void parse(FSTRINGPARAM(text))
Definition: gameduino2.h:90
void ColorRGB(byte red, byte green, byte blue)
Definition: gd2_ext.h:1242
static void checkTouch()
Definition: gameduino2.h:153
void uiCheckKeys(int &action)
Definition: gameduino2.h:166
#define LOAD_ASSETS()
Definition: gd2_ext.h:2399
uint8_t GD2screens[4]
Definition: gameduino2.h:162
#define SLIDER_HANDLE
Definition: gd2_ext.h:2404
void Tag(byte s)
Definition: gd2_ext.h:1320
static void renderMainScreen()
Definition: gameduino2.h:94
void cmd_text(int16_t x, int16_t y, byte font, uint16_t options, const char *s)
Definition: gd2_ext.h:1573
#define CELL_32_EMERGENCY
Definition: gameduino2.h:27
uint8_t col
Definition: ui.h:591
#define OPT_CENTER
Definition: gd2_ext.h:306
static void spiBegin()
Definition: HAL.h:618
void uiInitKeys()
Definition: gameduino2.h:165
#define CELL_32_SPEED
Definition: gameduino2.h:20
#define FSTRINGPARAM(var)
Definition: HAL.h:53
#define CELL_32_LIGHT_OFF
Definition: gameduino2.h:31
#define TAG_POWER
Definition: gameduino2.h:48
#define TAG_EMERGENCY
Definition: gameduino2.h:47
void Begin(byte prim)
Definition: gd2_ext.h:1128
static uint8_t screens[4]
Definition: gameduino2.h:65
#define UI_PRINTER_NAME
Definition: Configuration.h:1766